package com.shop.bean;

import java.util.Date;

public class PurchaseIntent {
    private int id;
    private int productId;
    private String buyerName;
    private String location;
    private Date tradeTime;
    private String phone;
    private double amount;
    private double deposit;
    private int status; // 1:待确认 2:已选中 3:已驳回 4:已完成 5:已取消
    private String rejectReason;
    private Date createTime;

    // getter和setter
    public int getId() { return id; }
    public void setId(int id) { this.id = id; }
    public int getProductId() { return productId; }
    public void setProductId(int productId) { this.productId = productId; }
    public String getBuyerName() { return buyerName; }
    public void setBuyerName(String buyerName) { this.buyerName = buyerName; }
    public String getLocation() { return location; }
    public void setLocation(String location) { this.location = location; }
    public Date getTradeTime() { return tradeTime; }
    public void setTradeTime(Date tradeTime) { this.tradeTime = tradeTime; }
    public String getPhone() { return phone; }
    public void setPhone(String phone) { this.phone = phone; }
    public double getAmount() { return amount; }
    public void setAmount(double amount) { this.amount = amount; }
    public double getDeposit() { return deposit; }
    public void setDeposit(double deposit) { this.deposit = deposit; }
    public int getStatus() { return status; }
    public void setStatus(int status) { this.status = status; }
    public String getRejectReason() { return rejectReason; }
    public void setRejectReason(String rejectReason) { this.rejectReason = rejectReason; }
    public Date getCreateTime() { return createTime; }
    public void setCreateTime(Date createTime) { this.createTime = createTime; }
}